using System;
using System.ComponentModel;
using System.Windows.Forms;
using DevTools.PopupKiller.Components;

namespace DevTools.PopupKiller.Forms
{
    public partial class TargetForm : Form
    {
        public TargetForm()
        {
            InitializeComponent();
        }

        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);

            bdsTarget.DataSource = ProcessKiller.Instance.Data;
        }

        protected override void OnClosing(CancelEventArgs e)
        {
            ProcessKiller.Save();

            base.OnClosing(e);
        }
    }
}